﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace QualitySupervision.Models
{
    public class StrategicTargetOrganization
    {
        public StrategicTargetOrganization()
        {
            StrategicTargetOrganizationDetails = new List<StrategicTargetOrganizationDetail>();
        }
        public int ID { get; set; }
        /// <summary>
        /// 部门ID
        /// </summary>
        public int Dept { get; set; }
        /// <summary>
        /// 任务ID
        /// </summary>
        public int StrategicTargetTaskID { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string Deptmentname { get; set; }
        /// <summary>
        /// 评价内容
        /// </summary>
        public string Appraise { get; set; }
        /// <summary>
        /// 最终等级
        /// </summary>
        public string Rank { get; set; }
        /// <summary>
        /// 最终分数
        /// </summary>
        public int? Grade { get; set; }
        /// <summary>
        /// 自己评分
        /// </summary>
        public int? Gradeself { get; set; }
        /// <summary>
        /// 提交状态1暂存2是提交
        /// </summary>
        public int State { get; set; } = 1;

        public int? score1 { get; set; }
        public string filelist1 { get; set; }
        public string bz1 { get; set; }
        public int? score2 { get; set; }
        public string filelist2 { get; set; }
        public string bz2 { get; set; }
        public int? score3 { get; set; }
        public string filelist3 { get; set; }
        public string bz3 { get; set; }
        public List<StrategicTargetOrganizationDetail> StrategicTargetOrganizationDetails { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; } = DateTime.Now;
        //public StrategicTargetTask StrategicTargetTask { get; set; }
    }
}
